home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
seeklst
/
readme.txt
< prev
next >
Wrap
Text File
|
1994-04-13
|
1KB
|
23 lines
SeekLst: Seeking with the Table Object Selected from a List Box
The sample SEEK_PUB.MAK project contains the file SEEK_PUB.FRM.
The idea of the sample is to demonstrate how to use the SEEK method and a
Table object variable with a variable that you have the user select from a
List box. The result of the search will bring up the entire record to be
read or updated.
You first want to select an entry in the List1 list box control by
clicking on a item contained in the list box. Next you will see all of the
text boxes become filled with the other fields that pertain to the record
that you selected. Then you can either start editing the fields of the
record that you desire to change or select the 'Push to make ReadOnly'
command button to prevent changes from being made. There are also some
additional command buttons, one is for setting the Read/Write options on
the text boxes, another for saving changes made to the data and the last one
for not saving changes to the data.
You can continue the same sequence with different selections from the List1
list box.